package com.ym.b2b.provider.dao;

import java.sql.SQLException;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.provider.sqlbean.EmCProvider;
import com.zc.commons.base.Page;

public interface EmCProviderDAO {

    public Long searchPageEmCProviderNum(EmCProvider emcprovider) throws SQLException;

    public Page searchPageEmCProvider(EmCProvider emcprovider, Page<EmCProvider> page) throws SQLException;

    public void insertEmCProvider(EmCProvider record) throws SQLException;

    public void updateEmCProvider(EmCProvider emCProvider) throws DataAccessException;

    public EmCProvider showEmCProviderDetail(EmCProvider emCProvider) throws DataAccessException;

    void deleteEmCProvider(EmCProvider emCProvider) throws DataAccessException;

    void deleteMultipleEmCProviders(String providerIdList);

    void editMultipleEmCProvidersStatus(String providerIdList);
}
